
<H2>How do I explicitly disable Cookies for session management?</H2>
<P>
There is a <code>setUsingCookies</code> method that needs to be called on the <code>WebApplicationHandler</code> object. This
can be called from your usual Jetty xml configuration file when you configure your web-app:
<pre>

  &lt;Call name="addWebApplication"&gt;
    &lt;Arg&gt;/jetty/*&lt;/Arg&gt;
    &lt;Arg&gt;/demo/webapps/jetty&lt;/Arg&gt;

    &lt;Call name="getWebApplicationHandler"&gt;
      &lt;Set name="usingCookies"&gt;false&lt;/Set&gt;
    &lt;/Call&gt;
  &lt;/Call&gt;

</pre&gt;
<P>

<A HREF="index.html" TITLE="Back to JettyFAQ"><IMG SRC="/jetty/images/info_sm.gif" BORDER="0"><BR
CLEAR="bottom"> JettyFaq</A>
<BR><BR>
